package Grade;

/**
 * Created by yan_my on 2016/10/13.
 */
public class Data {
        private String Name;
        private int ID;
        private int Chinese;
        private int Math;
        private int English;
        private int Physics;
        private int Chemical;
        private int sum;
        private double aver;

        public double getAver() {
            return aver;
        }

        public void setAver(double aver) {
            this.aver = aver;
        }

        public int getSum() {
            return sum;
        }

        public void setSum(int sum) {
            this.sum = sum;
        }

        public int getChinese() {
            return Chinese;
        }

        public int getMath() {
            return Math;
        }

        public int getEnglish() {
            return English;
        }

        public int getChemical() {
            return Chemical;
        }

        public int getPhysics() {
            return Physics;
        }

        public void setChinese(int chinese) {
            Chinese = chinese;
        }

        public void setMath(int math) {
            Math = math;
        }

        public void setPhysics(int physics) {
            Physics = physics;
        }

        public void setEnglish(int english) {
            English = english;
        }

        public void setChemical(int chemical) {
            Chemical = chemical;
        }

        public String getName() {
            return Name;
        }

        public int getID() {
            return ID;
        }

        public void setName(String name) {
            Name = name;
        }

        public void setStudentNum(int studentNum) {
            this.ID = ID;
        }

        public String toString() {
            return ID + "   " + Name + "    " + Chinese + "    " + Math +
                    "    " + English + "    " + Physics + "    " + Chemical + "    " + sum + "    " + aver;
        }


}

